//
//  BookPlaceDetailSectionCell.h
//  FreeTrip
//
//  Created by 352324497@qq.com on 15/11/26.
//  Copyright © 2015年 邓芮. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BookPlaceDetailPhotosCell.h"
#import "BookPlaceDetailTripModel.h"
#import "PhotosModel.h"

@protocol BookPlaceDetailDelegate <NSObject>

- (void)JumpPageWithArray:(NSMutableArray *)array item:(NSInteger)item;

@end

@interface BookPlaceDetailSectionCell : UITableViewCell<UICollectionViewDataSource, UICollectionViewDelegate, UICollectionViewDelegateFlowLayout>

// 代理
@property (nonatomic, assign) id<BookPlaceDetailDelegate>delegate;

@property (nonatomic, strong)BookPlaceDetailTripModel *model;

//@property (nonatomic, strong)UILabel *titleLabel; // 小标题
@property (nonatomic, strong)UILabel *descriptionLabel;// 描述

@property (nonatomic, strong)UICollectionView *photosViewVc; // 图片

@property (nonatomic, retain)NSMutableArray *photoArray;

+(CGFloat)heightForCell:(BookPlaceDetailTripModel *)model;
@end
